package org.eduapp.trains.dao.option;

import java.util.List;

import org.eduapp.trains.DAOException;
import org.eduapp.trains.dao.BaseDAO;
import org.eduapp.trains.model.options.ModelOptions;

/**
 * 
 * @author jeccy
 *
 */
public interface OptionDAO extends BaseDAO<ModelOptions> {
	
	/**
	 * get option by given option name
	 * @param optionName
	 * @return
	 */
	List<ModelOptions> getByName (String optionName) throws DAOException;
	
}
